﻿using System.Web;
using System.Web.Optimization;

namespace QLNH
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                        "~/Content/themes/base/jquery.ui.core.css",
                        "~/Content/themes/base/jquery.ui.resizable.css",
                        "~/Content/themes/base/jquery.ui.selectable.css",
                        "~/Content/themes/base/jquery.ui.accordion.css",
                        "~/Content/themes/base/jquery.ui.autocomplete.css",
                        "~/Content/themes/base/jquery.ui.button.css",
                        "~/Content/themes/base/jquery.ui.dialog.css",
                        "~/Content/themes/base/jquery.ui.slider.css",
                        "~/Content/themes/base/jquery.ui.tabs.css",
                        "~/Content/themes/base/jquery.ui.datepicker.css",
                        "~/Content/themes/base/jquery.ui.progressbar.css",
                        "~/Content/themes/base/jquery.ui.theme.css"));
            // GLOBAL MANDATORY STYLES
            bundles.Add(new StyleBundle("~/Css/mandatory").Include(
                        "~/Content/assets/plugins/font-awesome/css/font-awesome.min.css",
                        "~/Content/assets/plugins/simple-line-icons/simple-line-icons.min.css",
                        "~/Content/assets/plugins/bootstrap/css/bootstrap.min.css",
                        "~/Content/assets/plugins/uniform/css/uniform.default.css",
                        "~/Content/assets/plugins/bootstrap-datepicker/css/datepicker.css"));

            // THEME STYLES
            bundles.Add(new StyleBundle("~/Css/themestyle").Include(
                        "~/Content/assets/css/components.css",
                        "~/Content/assets/css/plugins.css",
                        "~/Content/assets/css/layout.css",
                        "~/Content/assets/css/themes/default.css",
                        "~/Content/assets/css/custom.css"));

            // CORE PLUGINS LT IE9
            bundles.Add(new ScriptBundle("~/bundles/coreltie9").Include(
                        "~/Content/assets/plugins/respond.min.js",
                        "~/Content/assets/plugins/excanvas.min.js"));

            // CORE PLUGINS
            bundles.Add(new ScriptBundle("~/bundles/core").Include(
                        "~/Content/assets/plugins/jquery-{version}.min.js",
                        "~/Content/assets/plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js",
                        "~/Content/assets/plugins/bootstrap/js/bootstrap.min.js",
                        "~/Content/assets/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js",
                        "~/Content/assets/plugins/uniform/jquery.uniform.min.js",
                        "~/Content/assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js",
                        "~/Content/assets/plugins/excanvas.min.js"));

            // CUSTOM SCRIPT
            bundles.Add(new ScriptBundle("~/bundles/custom").Include(
                        "~/Content/assets/scripts/metronic.js",
                        "~/Content/assets/scripts/layout.js",
                        "~/Content/assets/scripts/ishida.js"));


        }
    }
}